package br.ita.comp.ces22.quiz.core.exception;

public class InvalidAccessTypeException extends RuntimeException {
	private static final long serialVersionUID = 1L;
	private final String accessType;

	public InvalidAccessTypeException(String accessType) {
        super("Invalid access type: " + accessType);
        this.accessType = accessType;
    }
    
	public String getAccessType() {
        return accessType;
    }
}